package com.huazhi.wzsnw.model;

import java.beans.SimpleBeanInfo;
import java.text.SimpleDateFormat;
import java.util.Date;

public class ShuiZhi {
    private String tid;

    private String cun;

    private Date checktime;

    private String operator;

    private String flow;

    private String ph;

    private String Do;

    private String transparency;

    private String ss;

    private String codcr;

    private String bod5;

    private String tp;

    private String tn;

    private String hn3N;

    private String yield;

    private String iconcentration;

    private String econcentration;

    private String concentration;

    private String standard;

    private String compliance;

    private String zhuodu;

    private String diandaolv;

    private String rongjieyang;

    private String document;

    private Date inserttime;

    private String insertuser;

    private String state;

    private String cunname;

    private String checktimestring;

    private String inserttimestring;

    private Integer sum;

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid == null ? null : tid.trim();
    }

    public String getCun() {
        return cun;
    }

    public void setCun(String cun) {
        this.cun = cun == null ? null : cun.trim();
    }

    public Date getChecktime() {
        return checktime;
    }

    public void setChecktime(Date checktime) {
        this.checktime = checktime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getFlow() {
        return flow;
    }

    public void setFlow(String flow) {
        this.flow = flow == null ? null : flow.trim();
    }

    public String getPh() {
        return ph;
    }

    public void setPh(String ph) {
        this.ph = ph == null ? null : ph.trim();
    }

    public String getDo() {
        return Do;
    }

    public void setDo(String Do) {
        this.Do = Do == null ? null : Do.trim();
    }

    public String getTransparency() {
        return transparency;
    }

    public void setTransparency(String transparency) {
        this.transparency = transparency == null ? null : transparency.trim();
    }

    public String getSs() {
        return ss;
    }

    public void setSs(String ss) {
        this.ss = ss == null ? null : ss.trim();
    }

    public String getCodcr() {
        return codcr;
    }

    public void setCodcr(String codcr) {
        this.codcr = codcr == null ? null : codcr.trim();
    }

    public String getBod5() {
        return bod5;
    }

    public void setBod5(String bod5) {
        this.bod5 = bod5 == null ? null : bod5.trim();
    }

    public String getTp() {
        return tp;
    }

    public void setTp(String tp) {
        this.tp = tp == null ? null : tp.trim();
    }

    public String getTn() {
        return tn;
    }

    public void setTn(String tn) {
        this.tn = tn == null ? null : tn.trim();
    }

    public String getHn3N() {
        return hn3N;
    }

    public void setHn3N(String hn3N) {
        this.hn3N = hn3N == null ? null : hn3N.trim();
    }

    public String getYield() {
        return yield;
    }

    public void setYield(String yield) {
        this.yield = yield == null ? null : yield.trim();
    }

    public String getIconcentration() {
        return iconcentration;
    }

    public void setIconcentration(String iconcentration) {
        this.iconcentration = iconcentration == null ? null : iconcentration.trim();
    }

    public String getEconcentration() {
        return econcentration;
    }

    public void setEconcentration(String econcentration) {
        this.econcentration = econcentration == null ? null : econcentration.trim();
    }

    public String getConcentration() {
        return concentration;
    }

    public void setConcentration(String concentration) {
        this.concentration = concentration == null ? null : concentration.trim();
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard == null ? null : standard.trim();
    }

    public String getCompliance() {
        return compliance;
    }

    public void setCompliance(String compliance) {
        this.compliance = compliance == null ? null : compliance.trim();
    }

    public String getZhuodu() {
        return zhuodu;
    }

    public void setZhuodu(String zhuodu) {
        this.zhuodu = zhuodu == null ? null : zhuodu.trim();
    }

    public String getDiandaolv() {
        return diandaolv;
    }

    public void setDiandaolv(String diandaolv) {
        this.diandaolv = diandaolv == null ? null : diandaolv.trim();
    }

    public String getRongjieyang() {
        return rongjieyang;
    }

    public void setRongjieyang(String rongjieyang) {
        this.rongjieyang = rongjieyang == null ? null : rongjieyang.trim();
    }

    public String getDocument() {
        return document;
    }

    public void setDocument(String document) {
        this.document = document == null ? null : document.trim();
    }

    public Date getInserttime() {
        return inserttime;
    }

    public void setInserttime(Date inserttime) {
        this.inserttime = inserttime;
    }

    public String getInsertuser() {
        return insertuser;
    }

    public void setInsertuser(String insertuser) {
        this.insertuser = insertuser == null ? null : insertuser.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getCunname() {
        return cunname;
    }

    public void setCunname(String cunname) {
        this.cunname = cunname;
    }

    public String getChecktimestring() {
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
        if(checktime != null && checktimestring == null){
            return dateFormat.format(checktime);
        }
        return checktimestring;
    }

    public void setChecktimestring(String checktimestring) {
        this.checktimestring = checktimestring;
    }

    public String getInserttimestring() {
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
        if(inserttime != null && inserttimestring == null){
            return dateFormat.format(inserttime);
        }
        return inserttimestring;
    }

    public void setInserttimestring(String inserttimestring) {
        this.inserttimestring = inserttimestring;
    }

    public Integer getSum() { return sum; }

    public void setSum(Integer sum) { this.sum = sum; }
}